import {useRoutes} from 'react-router-dom'
import routes from '@/router'
import {Suspense} from 'react'
const App=()=>{
    return (<Suspense fallback={<>页面正在加载中...</>}>
        {useRoutes(routes)}
    </Suspense>)
}
export default App